package com.xianggu.Collection.test;

/**
 * @author chengjy
 * @date 2025/4/20
 */
public class Demo {
    public static void main(String[] args) {
        BClass cClass = new CClass();

        AInterface aInterface = cClass;

        DInterface dInterface = cClass;

        aInterface.methodTest();
        dInterface.test2();
        aInterface.test();

 
    }
}
